Integrand size = 21, antiderivative size = 66 \[ \int \csc (c+d x) (a+a \sin (c+d x))^{3/2} \, dx=-\frac {2 a^{3/2} \text {arctanh}\left (\frac {\sqrt {a} \cos (c+d x)}{\sqrt {a+a \sin (c+d x)}}\right )}{d}-\frac {2 a^2 \cos (c+d x)}{d \sqrt {a+a \sin (c+d x)}} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {2842, 21, 2852, 212} \[ \int \csc (c+d x) (a+a \sin (c+d x))^{3/2} \, dx=-\frac {2 a^{3/2} \text {arctanh}\left (\frac {\sqrt {a} \cos (c+d x)}{\sqrt {a \sin (c+d x)+a}}\right )}{d}-\frac {2 a^2 \cos (c+d x)}{d \sqrt {a \sin (c+d x)+a}} \]
[In]
[Out]
Rule 21
Rule 212
Rule 2842
Rule 2852
Rubi steps \begin{align*} \text {integral}& = -\frac {2 a^2 \cos (c+d x)}{d \sqrt {a+a \sin (c+d x)}}+2 \int \frac {\csc (c+d x) \left (\frac {a^2}{2}+\frac {1}{2} a^2 \sin (c+d x)\right )}{\sqrt {a+a \sin (c+d x)}} \, dx \\ & = -\frac {2 a^2 \cos (c+d x)}{d \sqrt {a+a \sin (c+d x)}}+a \int \csc (c+d x) \sqrt {a+a \sin (c+d x)} \, dx \\ & = -\frac {2 a^2 \cos (c+d x)}{d \sqrt {a+a \sin (c+d x)}}-\frac {\left (2 a^2\right ) \text {Subst}\left (\int \frac {1}{a-x^2} \, dx,x,\frac {a \cos (c+d x)}{\sqrt {a+a \sin (c+d x)}}\right )}{d} \\ & = -\frac {2 a^{3/2} \text {arctanh}\left (\frac {\sqrt {a} \cos (c+d x)}{\sqrt {a+a \sin (c+d x)}}\right )}{d}-\frac {2 a^2 \cos (c+d x)}{d \sqrt {a+a \sin (c+d x)}} \\ \end{align*}
Time = 1.01 (sec) , antiderivative size = 118, normalized size of antiderivative = 1.79 \[ \int \csc (c+d x) (a+a \sin (c+d x))^{3/2} \, dx=\frac {\left (-2 \cos \left (\frac {1}{2} (c+d x)\right )-\log \left (1+\cos \left (\frac {1}{2} (c+d x)\right )-\sin \left (\frac {1}{2} (c+d x)\right )\right )+\log \left (1-\cos \left (\frac {1}{2} (c+d x)\right )+\sin \left (\frac {1}{2} (c+d x)\right )\right )+2 \sin \left (\frac {1}{2} (c+d x)\right )\right ) (a (1+\sin (c+d x)))^{3/2}}{d \left (\cos \left (\frac {1}{2} (c+d x)\right )+\sin \left (\frac {1}{2} (c+d x)\right )\right )^3} \]
[In]
[Out]
Time = 0.64 (sec) , antiderivative size = 84, normalized size of antiderivative = 1.27
method | result | size |
default | \(-\frac {2 \left (1+\sin \left (d x +c \right )\right ) \sqrt {-a \left (\sin \left (d x +c \right )-1\right )}\, a \left (\sqrt {a}\, \operatorname {arctanh}\left (\frac {\sqrt {a -a \sin \left (d x +c \right )}}{\sqrt {a}}\right )+\sqrt {a -a \sin \left (d x +c \right )}\right )}{\cos \left (d x +c \right ) \sqrt {a +a \sin \left (d x +c \right )}\, d}\) | \(84\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 239 vs. \(2 (58) = 116\).
Time = 0.28 (sec) , antiderivative size = 239, normalized size of antiderivative = 3.62 \[ \int \csc (c+d x) (a+a \sin (c+d x))^{3/2} \, dx=\frac {{\left (a \cos \left (d x + c\right ) + a \sin \left (d x + c\right ) + a\right )} \sqrt {a} \log \left (\frac {a \cos \left (d x + c\right )^{3} - 7 \, a \cos \left (d x + c\right )^{2} - 4 \, {\left (\cos \left (d x + c\right )^{2} + {\left (\cos \left (d x + c\right ) + 3\right )} \sin \left (d x + c\right ) - 2 \, \cos \left (d x + c\right ) - 3\right )} \sqrt {a \sin \left (d x + c\right ) + a} \sqrt {a} - 9 \, a \cos \left (d x + c\right ) + {\left (a \cos \left (d x + c\right )^{2} + 8 \, a \cos \left (d x + c\right ) - a\right )} \sin \left (d x + c\right ) - a}{\cos \left (d x + c\right )^{3} + \cos \left (d x + c\right )^{2} + {\left (\cos \left (d x + c\right )^{2} - 1\right )} \sin \left (d x + c\right ) - \cos \left (d x + c\right ) - 1}\right ) - 4 \, {\left (a \cos \left (d x + c\right ) - a \sin \left (d x + c\right ) + a\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{2 \, {\left (d \cos \left (d x + c\right ) + d \sin \left (d x + c\right ) + d\right )}} \]
[In]
[Out]
\[ \int \csc (c+d x) (a+a \sin (c+d x))^{3/2} \, dx=\int \left (a \left (\sin {\left (c + d x \right )} + 1\right )\right )^{\frac {3}{2}} \csc {\left (c + d x \right )}\, dx \]
[In]
[Out]
\[ \int \csc (c+d x) (a+a \sin (c+d x))^{3/2} \, dx=\int { {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} \csc \left (d x + c\right ) \,d x } \]
[In]
[Out]
none
Time = 0.80 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.58 \[ \int \csc (c+d x) (a+a \sin (c+d x))^{3/2} \, dx=-\frac {\sqrt {2} {\left (\sqrt {2} a \log \left (\frac {{\left | -2 \, \sqrt {2} + 4 \, \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right ) \right |}}{{\left | 2 \, \sqrt {2} + 4 \, \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right ) \right |}}\right ) \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) - 4 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \sqrt {a}}{2 \, d} \]
[In]
[Out]
Timed out. \[ \int \csc (c+d x) (a+a \sin (c+d x))^{3/2} \, dx=\int \frac {{\left (a+a\,\sin \left (c+d\,x\right )\right )}^{3/2}}{\sin \left (c+d\,x\right )} \,d x \]
[In]
[Out]